Skip to content

fix(steward): recover zero-effect monitors and cleared-replan reports - #9143

Merged
loopx-agent merged 1 commit into
mainfrom
codex/steward-monitor-report-recovery-20261120
Nov 20, 2026
Merged

loopx-agent merged 1 commit into
mainfrom
codex/steward-monitor-report-recovery-20261120

Conversation

@loopx-agent

Copy link
Copy Markdown
Collaborator

Summary

  • Single-retry zero-effect monitor recovery (steward_managed_mode.ts, steward_turn.py): allow native steward continuous monitors that fail cleanly after single manager_context observation (phases: [{"phase": "manager_context"}], single manager_turn_context_v1 context, zero upstream model turns, zero poll receipts, available task lease, excluded prior worker) due to runtime_unavailable, disk I/O error, or The LoopX Chat execution worker exited... to recover once via monitor_restart_recovery. Unrelated pre-context runtime_unavailable failures (e.g. _start_accepted_turn_worker OSError with no manager_context phase or context) remain fail-closed (test_unknown_accepted_watch_is_read_back_without_replay), and second failures on restart carriers never loop.
  • Cleared-replan report .admission-resume recovery & governance contract guidance (steward_managed_mode.ts, steward_turn.py):
    • Add a concise governance contract reminder when running an unbound autonomous-replan governance probe for a deferred periodic report so the model knows delivery_outcome="outcome_gap" requires typed blocked progress fields (progress_result_class="blocked", progress_blocker_id, progress_evidence_id).
    • Once an earlier .admission-retry governance probe failed host_result_contract validation with zero side effects (journal.status == "failed", result_kind == "validation_failed", validation_stage == "host_result_contract", receipt.commit_eligibility all false, recorded_effects zero writes) AND the blocking autonomous-replan obligation has since cleared (current_guard.effective_action == "normal_run" and replan_action_packet is None), admit one .admission-resume carrier to generate and publish the original report without looping while replan remains open.

Files Changed

  • loopx/control_plane/collaboration/steward_managed_mode.ts
  • loopx/capabilities/native_chat/steward_turn.py
  • tests/control_plane_ts/steward_managed_mode.test.ts
  • tests/control_plane_ts/steward_reports.test.ts
  • tests/test_native_steward_monitor.py
  • tests/test_native_steward_reports.py

Verification

  • node --experimental-strip-types --test tests/control_plane_ts/steward_managed_mode.test.ts tests/control_plane_ts/steward_reports.test.ts
  • uv run --extra test python -m pytest tests/test_native_steward_monitor.py -k "test_unknown_accepted_watch_is_read_back_without_replay or test_transient_zero_effect_monitor_failures_recover_once or test_signal_unavailable_monitor_recovers_once" -q
  • uv run --extra test python -m pytest tests/test_native_steward_reports.py::test_report_recovers_via_admission_resume_once_blocking_replan_clears_after_contract_failure -q (+ all 21 existing replan cases in test_native_steward_reports.py -k "replan")
  • uv run --extra test python -m pytest tests/test_steward_generic_monitor_todo.py tests/test_native_steward_turn_host.py -k "antigravity_fallback or monitor" -q
  • uv run --extra test ruff check ..., examples/control_plane/control-plane-maintainability-ratchet-smoke.py, loopx canary premerge --from-git-diff --git-diff-base origin/main

@loopx-agent loopx-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent | self_reported | Gemini | Antigravity

Approval conclusion (author-owned PR; GitHub blocks formal self-approval)

动机

本 PR 针对 exact head 7b438024fc97c22d88369a5af50f5b334292805f 修复原生管家后台持续监控与周期日报的两类长期卡死故障。原生个人管家的连续监控调度器(StewardMonitor / pump_steward_monitors)与周期报告生成宿主(StewardTurnHost / LarkStewardReports)会在守护进程重启、瞬时存储抖动或重规划契约校验未通过时遇到该问题。

改造前:连续 monitor 在完成一次 manager_context 只读观测后、尚无任何模型请求或 poll receipt 时若因 runtime_unavailable、disk I/O error 或执行 worker 提前退出而失败,无法建立 monitor_restart_recovery,只能永久卡在 failed 等待人工重设;同时周期报告的重规划探针 .admission-retry 若因宿主结果契约校验失败(如仅输出 outcome_gap 而缺少 blocked 字段)停留在 failed/validation_failed,即使重规划阻塞稍后已在 Goal 侧解除,report_selection_recovery 仍只放行旧的 stopped/report_replan_not_admitted 分支,导致日报永远卡在待生成。改造后:仅当独立日记与事件证明已完成单次 manager_context 观测且零副作用、无 poll receipt 时,上述三类瞬时 monitor 故障获准执行最多一次无模型重启恢复(上下文前未知启动失败如 runtime_unavailable 无 manager_context 仍严格保持拒绝重放);对重规划 probe 则在提示词补充契约说明,并在契约校验零写入失败且外部 quota should-run 已切回 normal_run、replan_action_packet 为空时,放行单次 .admission-resume 完成原日报生成与投递。

可观测改进方面:零副作用瞬时失败的持续 monitor 自动完成最多一次恢复并刷新 next_due_at(二次失败不循环),test_unknown_accepted_watch_is_read_back_without_replay 保持零重放通过;契约校验失败的日报探针在重规划未解除时继续保持静默不空转,在重规划解除后通过单次 .admission-resume 完成提交并核销投递。同时严格限定范围:不放松上下文前未知启动失败的防重放保护,不绕过未解除的 autonomous_replan 阻塞,也不为已写状态或已花额度的失败回合提供自动重放。若保留原逻辑,任何一次守护进程重启或存储短暂 I/O 失败都会让对应持续 monitor 停止推进,而契约校验失败的日报也无法在重规划完成后自动恢复。

改动思路

继续由 TypeScript 控制面 steward_managed_mode.ts(admitMonitorRestartRecovery 与 admitReportSelectionRecovery)作为单一准入权威,Python 侧 steward_turn.py(monitor_restart_request、report_selection_recovery、_cleared_replan_guard 与治理提示词)只负责只读收集规范证据并与 EffectiveAction.NORMAL_RUN 对齐,不新增并行恢复状态机。

当前收敛边界如下:本 PR 仅包含 monitor_restart_recovery 单次受限放行与 cleared-replan 日报 .admission-resume 准入,无新持久字段或新调度后台线程。

控制流采用既有两段式证据校验:

  • Monitor 恢复:StewardTurnHost.monitor_restart_request 接纳 runtime_error / runtime_unavailable,由 monitor_restart_basis 提取真实事件流、上下文、phase、poll_absent 与 lease_available 送入 TS admitMonitorRestartRecovery。通过抽取共享断言 hasSingleManagerContextEvidence,将既往的 signalUnavailable 与新增的 runtime_unavailable / disk I/O error / WORKER_EXITED_ERROR 统一绑定到“恰有 1 次 manager_context phase 与 1 份 manager_turn_context_v1 上下文、零上游 Turn、零 poll receipt、零前驱载体”的单次零副作用条件,从而从根源上继续阻断无上下文的未知启动失败重放。
  • 日报 .admission-resume 恢复:StewardTurnHost.execute 的 governance_work 分支附加简明契约提醒避免空跑;若 .admission-retry 已因 host_result_contract 失败且 commit_eligibility 全为 false,report_selection_recovery 仅在只读 quota should-run --dry-run 返回 EffectiveAction.NORMAL_RUN.value 且 replan_action_packet is None 时才附带 current_guard 交由 TS admitReportSelectionRecovery 准入一次 .admission-resume 完成原日报并交 recover_report_settlement + LarkStewardReports.reconcile 送达。

具体改动

关键代码讲解

  1. loopx/control_plane/collaboration/steward_managed_mode.ts#L27-L108(hasSingleManagerContextEvidence、admitMonitorRestartRecovery)
    • 抽取共享辅助函数 hasSingleManagerContextEvidence(校验 loopx_steward_managed_actor_v0、恰有 1 个 phase === "manager_context"、1 条 agent.phase 事件、1 条 manager.context 事件及 manager_turn_context_v1 上下文),统一约束 signalUnavailable、WORKER_EXITED_ERROR、disk I/O error 与 runtime_unavailable;同时沿用既有 predecessor !== null 限制,保障最多只恢复 1 次。
  2. loopx/control_plane/collaboration/steward_managed_mode.ts#L184-L280(admitReportSelectionRecovery)
    • 按探针日志终态区分两条路径:保留既有的 stopped + report_replan_not_admitted 检查;当 journal.status === "failed" 且 result_kind === "validation_failed"、validation_stage === "host_result_contract" 时,校验 completed_phases == ["host_execute", "typed_result"]、receipt.commit_eligibility 全为 false、recorded_effects 零写入、identity.binding_kind === "autonomous_replan",以及 current_guard.effective_action === EffectiveAction.NORMAL_RUN 且 replan_action_packet == null。
  3. loopx/capabilities/native_chat/steward_turn.py#L215-L225、#L307-L384、#L986-L1018(monitor_restart_request、report_selection_recovery、_cleared_replan_guard、run)
    • monitor_restart_request 扩至 runtime_unavailable;_cleared_replan_guard 只读执行 quota should-run --dry-run 并使用控制面枚举 EffectiveAction.NORMAL_RUN.value,未解除重规划前直接返回 None 保持闭锁;run 在 governance_work 时注入阻塞字段契约提示。

说明:本次属于既有 native steward 恢复路径的精确收敛增强,无独立书面 RFC 文档变更。

对主干的风险

  • 默认隔离与防重放边界(已验证):
    • 上下文尚未开始(contexts: [] / phases: [])的 _start_accepted_turn_worker 异常虽然同样记录 runtime_unavailable,但在 hasSingleManagerContextEvidence 直接被拒;tests/test_native_steward_monitor.py::test_unknown_accepted_watch_is_read_back_without_replay 已明确验证零重放。
    • 若 autonomous_replan 仍未解除(例如模型继续返回缺字段或无效语义的 invalid_semantic),_cleared_replan_guard 返回 None、pump_steward_monitors 返回空队列且不再重启新 Turn;test_report_pump_replans_only_proven_refusals_and_retains_unknown_work 全部 21 项参数化用例持续通过。
  • 语义与 CI 对齐:使用既有 EffectiveAction.NORMAL_RUN 与既有 validation_stage / error_code 字段,未新增状态词汇,semantic-vocabulary-drift-smoke.py 明确 PASS(conflicting_values_semantic=0/0)。
  • 最新 exact head 7b438024fc97c22d88369a5af50f5b334292805f 验证清单:
    • TypeScript 测试(tests/control_plane_ts/steward_managed_mode.test.ts、tests/control_plane_ts/steward_reports.test.ts):PASS(24/24,含 3 类瞬时 monitor 与 cleared-replan 负向断言)。
    • ruff check & control-plane-maintainability-ratchet-smoke.py & semantic-vocabulary-drift-smoke.py:PASS(ok: True, magnitude_regression_count: 0, unreviewed_count: 0)。
    • Python 定向回归:test_native_steward_monitor.py 定向 5 项(PASS,含 test_unknown_accepted_watch_is_read_back_without_replay 与 3 组 test_transient_zero_effect_monitor_failures_recover_once)、test_steward_generic_monitor_todo.py + test_native_steward_turn_host.py(2 passed)、test_native_steward_reports.py -k "replan"(22 passed,含全部 21 项原有 replan 用例及新增 .admission-resume 用例)。
    • loopx canary premerge --from-git-diff --git-diff-base origin/main:13/14 PASS(4/4 direct checks、8/8 risk profile smokes、5/6 catalog canaries 通过;catalog_canaries 4/6: examples/control_plane/monitor-poll-writeback-smoke.py 失败,已直接在干净 origin/main 基线 f8a6f20712e695da9c859e21bcde9a6530653ad6 独立运行确认同一脚本在未改动主干即失败,与本 PR 无关)。

我的整体评价

从长程恢复连续性(long_horizon: improved)与管家可用性(user_experience: improved)来看,本 PR 精准修复了当前线上持续 monitor 与 09:00 日报恢复的三类卡死边界,同时严守了“无单次 context 不重试”、“重规划未解除不循环”、“复用既有控制面枚举与 TS 准入单一所有权”三道防线;全部 TS 与 Python 核心回归、ruff、语义漂移与维护性棘轮检查均已在 7b438024fc97c22d88369a5af50f5b334292805f 实测通过(唯一 premerge 失败 monitor-poll-writeback-smoke.py 已在干净 origin/main 交叉证实为既有基线问题)。

关于视觉评估:本次改动仅覆盖 steward_managed_mode.ts、steward_turn.py 及其 TS/Python 单测,不改变任何前端 Dashboard 组件、UI 文案或 CLI 渲染视图。 unverified_scope: none。

Verdict: Bounded single-retry recovery for post-context zero-effect monitor failures and cleared-replan report continuation is cleanly implemented and verified at exact head 7b43802.

English Verdict: APPROVE

@loopx-agent
loopx-agent merged commit 2d302ca into main Nov 20, 2026
26 of 45 checks passed
@loopx-agent
loopx-agent deleted the codex/steward-monitor-report-recovery-20261120 branch November 20, 2026 16:11
loopx-agent added a commit that referenced this pull request Nov 21, 2026
* fix(cli): preserve typed runtime diagnostics in Turn failures

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): support per-endpoint model preferences and Codex-to-Antigravity failover (#9141)

Signed-off-by: LoopX Agent <[email protected]>

* Keep the prepared Chat adapter available to a retry (#9134)

A failed worker start can finish cleanup after a same-turn retry has
selected the adapter. Keep its lifetime tied to the Session and let
failed dispatch release its own worker registration. The regression
asserts one upstream turn and explicit adapter closure with the Session.

Port the fix from 4453e4bdd77486ec14b952f88ca893310b32e26c.

(cherry picked from commit 173e42b4f051b885c3a3389e1cad9c5722f7b7dd)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover zero-effect monitors and cleared-replan reports (#9143)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): admit flexible_primary_available executor transitions in conversation_scope (#9145)

Signed-off-by: LoopX Agent <[email protected]>

* Verify quota gate scope through signed lane references (#9101)

* test(quota): verify scoped gates through complete lane references

Signed-off-by: LoopX Agent <[email protected]>

* Test canonical quota gates in both public response modes

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Test C1 planning and Host input from the original quota capture (#9102)

* Use recorded quota decisions in the no-Todo settlement regression

Signed-off-by: LoopX Agent <[email protected]>

* Exercise the complete Host prompt from the captured quota source

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Prepare the CLI budget baseline with a private Git index (#9103)

Signed-off-by: LoopX Agent <[email protected]>

* Exercise C1 Goal delivery and bound replan from the saved source (#9104)

Signed-off-by: LoopX Agent <[email protected]>

* Keep long claim overlap scopes on demand (#9086)

* Link long thin-claim overlap lists to their receipts

Signed-off-by: LoopX Agent <[email protected]>

* Read claim overlap details without copying the lease

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): preserve explicit Monitor Todo selection (#9099)

Carry Todo selection provenance into quota admission. Preserve explicit secondary Monitor polling and recovery from previously admitted receipts.

Signed-off-by: LoopX Agent <[email protected]>

* Keep ready Todo scope details on the required context read (#9106)

Signed-off-by: LoopX Agent <[email protected]>

* Fix archive rollback with custom install directories (#9066)

* refactor(core): defer benchmark implementations during capability discovery

Preserve the benchmark toolkit public exports and static types while keeping execution and experiment implementations out of metadata discovery. Qualify source and installed Core paths, and reconcile the paired minimal/Standard RFC boundary without changing activation or authority defaults.

Signed-off-by: cicolord <[email protected]>

* Defer Yardstick evaluation until an enabled Explore read

Signed-off-by: cicolord <[email protected]>

* Omit empty Todo summary lanes from ordinary Worker context

Signed-off-by: cicolord <[email protected]>

* fix(update): honor configured archive directories during rollback

Signed-off-by: LoopX Agent <[email protected]>

* fix(lark): replay recall guard on current main

Signed-off-by: huangruiteng <[email protected]>

* docs: record the verified LoopX 2.3.0 release baseline

Signed-off-by: LoopX Agent <[email protected]>

* Preserve quota spend source when prepared work is admitted

Signed-off-by: LoopX Agent <[email protected]>

* test(quota): qualify native saved complete-Turn checkpoints

Signed-off-by: LoopX Agent <[email protected]>

* Retry cleanup of an owned file mutation marker

Signed-off-by: LoopX Agent <[email protected]>

* Keep synthetic Git-path test data outside the public source scan

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): share native preparation wait with readiness

Signed-off-by: LoopX Agent <[email protected]>

* fix(doctor): bind package update readback to its Python environment

Signed-off-by: LoopX Agent <[email protected]>

* Keep Doctor discovery separate from service activation

Signed-off-by: LoopX Agent <[email protected]>

* Verify the recorded Python launcher before Doctor probes it

Signed-off-by: LoopX Agent <[email protected]>

* fix(desktop): require runtime qualification for macOS preview updates

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): reuse replan projection owners during recovery

Signed-off-by: LoopX Agent <[email protected]>

* Qualify Codex 0.169 native context replay on main

Signed-off-by: LoopX Agent <[email protected]>

* Stop regenerating retired quota view aliases

Signed-off-by: LoopX Agent <[email protected]>

* fix: pin deferred native context reads to the original capture

Signed-off-by: LoopX Agent <[email protected]>

* Keep native capture navigation within small output budgets

Signed-off-by: LoopX Agent <[email protected]>

* Retire legacy heartbeat work prompt generation

Signed-off-by: LoopX Agent <[email protected]>

* Capture C1 composition failures as receipt diagnostics

Signed-off-by: LoopX Agent <[email protected]>

* Recover interrupted native Todo readiness from the original Turn

Signed-off-by: LoopX Agent <[email protected]>

* Revalidate the original lease before publishing resumed native context

Signed-off-by: LoopX Agent <[email protected]>

* Fence native readiness publication with the canonical lease writer

Signed-off-by: LoopX Agent <[email protected]>

* fix(scheduler): keep Codex fallback on the original C1 runtime

Signed-off-by: LoopX Agent <[email protected]>

* fix(scheduler): pin the originating fallback launchers

Signed-off-by: LoopX Agent <[email protected]>

* Retire the duplicate Codex App scheduler projection

Signed-off-by: LoopX Agent <[email protected]>

* Seed the recorded scheduler profile in the elapsed-backoff fixture

Signed-off-by: LoopX Agent <[email protected]>

* Verify canonical cadence on refused and settled Turns

Signed-off-by: LoopX Agent <[email protected]>

* Pin named Core commands in saved scheduler fallbacks

Signed-off-by: LoopX Agent <[email protected]>

* fix(research): preserve saved case addresses when a version cannot open

Signed-off-by: LoopX Agent <[email protected]>

* Preserve citation focus after a saved study refresh

Signed-off-by: LoopX Agent <[email protected]>

* Capture authenticated LoopX receipts for Research attention (#8790)

* feat(research): capture authenticated LoopX attention receipts

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* fix(research): tighten attention receipt provenance

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* fix(research): publish attention captures after source validation

Signed-off-by: huangruiteng <[email protected]>

---------

Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>
Co-authored-by: huangruiteng <[email protected]>

* Recover the original Session and Turn from a confirmed Chat task

Signed-off-by: huangruiteng <[email protected]>

* perf(lark,native_chat): eliminate redundant full-directory JSON reparsing in steward chat loops (#9041)

* perf(lark,native_chat): avoid full directory reparsing in steward chat loops

- Make LarkOwnerAttention._route iterate capture candidates lazily so matching stops at the newest valid p2p capture.
- Reuse FileChatDiscovery in PrivateIngressObserver._records while preserving strict field validation and fail-closed errors.
- Reuse FileChatDiscovery in ChatExternalConversations.pending so unchanged request journals skip redundant JSON reads and stay mutation-isolated.
- Add regression and scan-efficiency tests in tests/test_lark_steward_directory_scan_perf.py.

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): project small recovery metadata fields to stop data_url memory growth

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Retire transitional smoke checks and duplicate execution (#9073)

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* feat(steward): support probe-gated generic continuous_monitor todos with handoff and user actions (#9074)

Signed-off-by: LoopX Agent <[email protected]>

* Remove redundant defensive prose from prompts and comments (#9072)

Remove redundant defensive prose while preserving published heartbeat wrappers and externally managed skill readiness.

Validated with 197 related tests, independent historical wrapper migrations and negative cases, installed-skill readback, and current-main quick canary. Existing CI qualification and infrastructure limitations remain recorded in PR #9072.

Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>

* Keep original Chat retry errors visible during receipt refresh

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): tolerate report validator python drift and allow cancel of mid-turn failed reports (#9077)

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): add exact-head PR review signals and protected merge confirmation (#9081)

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): add isolated OpenViking long-term memory with per-speaker boundaries (#9083)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(content-ops): slim surface module and eliminate Any (#8961)

* refactor(content-ops): slim surface module and eliminate Any

Signed-off-by: LoopX Agent <[email protected]>

* fix(content-ops): reject malformed angle source_item_ids containers

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(collaboration): batch handoff query Goal lifetime guard lock per Goal (#9085)

Signed-off-by: LoopX Agent <[email protected]>

* fix(hosts): raise managed service startup readiness timeout to 45s (#9087)

Signed-off-by: LoopX Agent <[email protected]>

* perf(manager-context): memoize history_inspect lifecycle checks and scope runtime revision in handoffs query (#9088)

Eliminate the remaining O(N) Effect runtime RPCs and uncached runtime fingerprinting inside tracking.query(): enter effect_runtime_request_scope() for the query, memoize pure history_inspect lifecycle decisions across entries sharing identical Goal refs while holding the Goal lifetime guard, lazily discover legacy ingress files only when external audience recovery needs them, and preserve entry scan order across Goal batches.

Signed-off-by: LoopX Agent <[email protected]>

* refactor(lark): slim private_conversations below 2000 lines with net LOC reduction (#8929)

Signed-off-by: LoopX Agent <[email protected]>

* perf(chat,hosts): skip frontend source re-hashing on immutable installed releases and extend readiness timeout to 90s (#9089)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(control-plane): split and slim quota monitor_poll_commit (#8885)

* refactor(control-plane): split and slim quota monitor_poll_commit

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): preserve legacy lane budget and observation diagnostic order

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* refactor(quota): slim loopx/quota.py and tighten Any count to zero (#8939)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(native-chat): slim external_conversations below 2k lines and retire ceiling (#8911)

* refactor(native-chat): move steward commission mixin to steward_commands and retire external_conversations ceiling

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): respect include_raw_response in retained result recovery

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* refactor(chat): slim chat_runtime below 1,500 lines, fix entry-point project_contexts guard, and retire ceiling (#8920)

* refactor(chat): move session lifecycle mixin to session_open, deduplicate runtime helpers, and retire ceiling

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): drop turn_done_events slot before waking waiters on Thread.start failure

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): paginate open PR signal GraphQL, allow signal-unavailable monitor recovery, and cache private delivery scans (#9093)

Signed-off-by: LoopX Agent <[email protected]>

* perf(lark,native_chat): back off noop recovery retries and cache recovery lookups (#9096)

Signed-off-by: LoopX Agent <[email protected]>

* perf(native_chat,lark): cache unchanged quota backlog health and interrupt observations (#9098)

Signed-off-by: LoopX Agent <[email protected]>

* perf(lark,native_chat): coalesce listener snapshots and cache recovery event summaries (#9100)

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: cicolord <[email protected]>
Signed-off-by: LoopX Agent <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>
Co-authored-by: cicolord <[email protected]>
Co-authored-by: huangruiteng <[email protected]>
Co-authored-by: Lusen Dong <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* refactor(issue-fix): consolidate maintainer-correction admission and slim pr_lifecycle (#8897)

Signed-off-by: LoopX Agent <[email protected]>

* Fix truncated requests and responses in the Codex API relay (#8713)

* fix(codex relay): fence incomplete model requests before drain

Signed-off-by: LoopX Agent <[email protected]>

* fix(codex relay): surface incomplete upstream responses

Port the verified response framing fix to the request-admission branch. Original candidate 27bc3aee311cdfc6a00466ff9d3b58c7db36e01b.

Signed-off-by: LoopX Agent <[email protected]>

* Bound Codex relay writes to clients that stop reading

Signed-off-by: LoopX Agent <[email protected]>

* Reject upstream chunked responses missing the trailer terminator

Signed-off-by: LoopX Agent <[email protected]>

* Validate upstream chunk data delimiters before relay completion

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): repair dsh closeout test, antigravity failover alias, and release download retry (#9147)

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): update v2.4.0 release notes and dsh-loopx-plugin 0.1.1-beta.7 README (#9149)

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): recover saved answers and diagnose lost workers (#9120)

* fix(chat): recover saved answers and diagnose lost workers

Signed-off-by: LoopX Agent <[email protected]>

* style(lark): keep private_conversations within module line budget

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): retain execution_worker_exited in pending backlog count

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): resume steward requests lost before dispatch (#9125)

Signed-off-by: LoopX Agent <[email protected]>

* fix(benchmark): restore frozen v1 archives and align checkpoint/runtime tests with C1 defaults (#9151)

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): stabilize CLI help, architecture guards, onboarding gate, and public smokes (#9152)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover report selection across python upgrades and prevent queue kill on observation monitors (#9155)

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): align extensions, chat, presentation, and transport tests for v2.4.0 (#9156)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 quota, turn-envelope, and capabilities slice (Slice B1) (#9154)

* fix(control-plane): stabilize v2.4.0 quota, turn-envelope, and capabilities slice

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): preserve tokenless identity and exact numeric types in attach_complete_turn_context

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover frozen report contract failures and rebind resumed task leases (#9157)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover pre-dispatch runtime failures across endpoints and stop receipt-unknown disk churn (#9159)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control_plane): align lease recovery, settlement readback, and runtime fixtures (#9158)

* fix(control_plane): align lease recovery, settlement readback, and runtime fixtures

Signed-off-by: LoopX Agent <[email protected]>

* fix(control_plane): forward record_capture in worker outage test and harden version type guard

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 explore, context, and checkpoint tail slice (Slice B4) (#9161)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 replan, monitor recovery, and staged-read slice (Slice B5) (#9160)

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): reconcile final v2.4.0 stabilization PRs and boundary wording (#9162)

* docs(release): reconcile final v2.4.0 stabilization PRs and boundary wording

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): align #9158 and #9161 descriptions with verified commits

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): tolerate minor JSON delimiter glitches and recover saved report candidates (#9164)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): preserve bound yardstick reversals in native replan openings (#9165)

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): recover loopback relay 401 failures and isolate test auth (#9167)

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>
Signed-off-by: cicolord <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>
Co-authored-by: cicolord <[email protected]>
Co-authored-by: huangruiteng <[email protected]>
Co-authored-by: Lusen Dong <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant